//
//  SSSampleViewController.h
//  SeeScoreIOS
//
// No warranty is made as to the suitability of this for any purpose
//

#import <UIKit/UIKit.h>
#import "SSBarControl.h"
#import "SettingsViewController.h"
#import <SeeScoreLib/SeeScoreLib.h>

@class SSScrollView;

@interface SSSampleViewController : UIViewController <ChangeSettingsProtocol, SSSyControls, SSUTempo>

@property (readonly) SSScore *score;
@property (strong, nonatomic) IBOutlet SSBarControl *barControl;
@property (strong, nonatomic) IBOutlet SSScrollView *sysScrollView;
@property (strong, nonatomic) IBOutlet UILabel *titleLabel;
@property (strong, nonatomic) IBOutlet UILabel *transposeLabel;
@property (strong, nonatomic) IBOutlet UIStepper *stepper;
@property (strong, nonatomic) IBOutlet UIBarButtonItem *playButton;
@property (strong, nonatomic) IBOutlet UILabel *countInLabel;
@property (strong, nonatomic) IBOutlet UILabel *warningLabel;
@property (strong, nonatomic) IBOutlet UISlider *tempoSlider;
@property (strong, nonatomic) IBOutlet UILabel *tempoLabel;
@property (strong, nonatomic) IBOutlet UISwitch *metronomeSwitch;
@property int cursorBarIndex;
@property (strong, nonatomic) IBOutlet UISwitch *ignoreXMLLayoutSwitch;
@property (strong, nonatomic) IBOutlet UILabel *versionLabel;

- (IBAction)longPress:(id)sender;
- (IBAction)loadNextFile:(id)sender;
- (IBAction)transpose:(id)sender;
- (IBAction)play:(id)sender;
- (IBAction)tempoChanged:(id)sender;
- (IBAction)metronomeSwitched:(id)sender;
- (IBAction)switchIgnoreLayout:(id)sender;

-(void)stopPlaying;

-(void)colourPDNotes:(NSArray*)notes; // array of SSPDNote*

@end
